Exploiting Gray-Box Knowledge of Buffer-Cache Management
نویسندگان
چکیده
The buffer-cache replacement policy of the OS can have a significant impact on the performance of I/Ointensive applications. In this paper, we introduce a simple fingerprinting tool, Dust, which uncovers the replacement policy of the OS. Specifically, we are able to identify how initial access order, recency of access, frequency of access, and long-term history are used to determine which blocks are replaced from the buffer cache. We show that our fingerprinting tool can identify popular replacement policies described in the literature (e.g., FIFO, LRU, LFU, Clock, Random, Segmented FIFO, 2Q, and LRU-K) as well as those found in current systems (e.g., NetBSD, Linux, and Solaris). We demonstrate the usefulness of fingerprinting the cache replacement policy by modifying a web server to use this knowledge; specifically, the web server infers the contents of the OS file cache by modeling the replacement policy under the given set of page requests. We show that by first servicing those web pages that are believed to be resident in the OS buffer cache, we can improve both average response time and throughput.
منابع مشابه
Improving Cache Performance by Exploiting Read-Write Disparity
Cache read misses stall the processor if there are no independent instructions to execute. In contrast, most cache write misses are off the critical path of execution, since writes can be buffered in the cache or the store buffer. With few exceptions, cache lines that serve loads are more critical for performance than cache lines that serve only stores. Unfortunately, traditional cache manageme...
متن کاملIntelligent Buffer Cache Management in Multimedia Data Retrieval
In this paper, we present an intelligent buffer cache management algorithm in multimedia data retrieval called Adaptive Buffer cache Management (ABM). The proposed ABM scheme automatically detects the reference pattern of each file and intelligently switches between different buffer cache management schemes on per-file basis. According to our simulation based experiment, the ABM scheme yields b...
متن کاملMemory Banks Crossbar CTI Rings X - ring CTI CPU CPU PCI Bus
In this article we present results from an experimental evaluation study of the HP Exemplar le system. Our experiments consist of simple micro-benchmarks that study the impact of various factors on the le system performance. These factors include I/O request/buuer sizes, vectored/non-vectored access patterns, read-ahead policies, multi-threaded (temporally irregular) requests, and architectural...
متن کاملPresenting a Model to Assess Organizational Performance Based on the Concept of Knowledge Management Using Regression Model, Decision Tree, Gray Relational Analysis and DEMATEL Method (Case Study: National Library and Archives of Iran)
Many organizations have recognized that knowledge is the most important resource in today’s economy. With regards to knowledge-based views of the firm, organizations are actively embracing knowledge management with the expectation of acquiring and maintaining high levels of organizational performance. The relationship between knowledge management (KM) and organizational performance has been the...
متن کاملPresenting a Model to Assess Organizational Performance Based on the Concept of Knowledge Management Using Regression Model, Decision Tree, Gray Relational Analysis and DEMATEL Method (Case Study: National Library and Archives of Iran)
Many organizations have recognized that knowledge is the most important resource in today’s economy. With regards to knowledge-based views of the firm, organizations are actively embracing knowledge management with the expectation of acquiring and maintaining high levels of organizational performance. The relationship between knowledge management (KM) and organizational performance has been the...
متن کامل